/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.youan.log.modules.audit.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-04-01
 */
@Data
@TableName("log_sd_attack_ip_detail")
@ApiModel(value = "SdAttackIpDetail对象", description = "SdAttackIpDetail对象")
public class SdAttackIpDetail implements Serializable {

	private static final long serialVersionUID = 1L;
	@ExcelIgnore
	private Long id;

	@ExcelProperty("发起攻击IP")
	@ColumnWidth(16)
	private String attackerIp;

	@ExcelProperty("首次发起攻击时间")
	@ColumnWidth(24)
	private String firstAttackTime;

	@ExcelProperty("最近一次发起攻击时间")
	@ColumnWidth(30)
	private String latestAttackTime;

	@ExcelProperty("IP所属国家")
	@ColumnWidth(16)
	private String attackerCountry;

	@ExcelProperty("IP所属省份")
	@ColumnWidth(16)
	private String attackerProvince;

	@ExcelProperty("IP所属城市")
	@ColumnWidth(16)
	private String attackerCity;

	@ExcelIgnore
	private Integer attackSuccessNum;


}
